Retrieve a record
Retrieves one record by its object ID.
To retrieve more than one record, use the objects
operation.
Authorizations
Your Algolia application ID.
Your Algolia API key with the necessary permissions to make the request. Permissions are controlled through access control lists (ACL) and access restrictions. The required ACL to make a request is listed in each endpoint's reference.
Path Parameters
Name of the index on which to perform the operation.
"ALGOLIA_INDEX_NAME"
Unique record identifier.
"test-record-123"
Query Parameters
Attributes to include with the records in the response. This is useful to reduce the size of the API response. By default, all retrievable attributes are returned.
objectID
is always retrieved.
Attributes included in unretrievableAttributes
won't be retrieved unless the request is authenticated with the admin API key.
Response
OK
The requested record.